package com.mini.conditon;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @author zhangxiaobin
 * @title: BaseCondition
 * @description: TODO
 * @date 2019/10/2714:04
 */
@Data
public class BaseCondition implements Serializable {

    @ApiModelProperty(value = "页码,从1开始，默认：1", required = true)
    private Integer pageNumber = 1;

    @ApiModelProperty(value = "页大小，最小10，最大100，默认：10", required = true)
    private Integer pageSize = 10;

    @ApiModelProperty(value = "排序，默认降序:DESC, 升序:ASC", required = false)
    private String sortType = "DESC";

    @ApiModelProperty(value = "排序字段，默认createTime,(末次跟进时间:lastFollowUpTime,分配时间:distributeTime)", required = false)
    private String sortColumn = "createTime";

}
